package org.example.model.forum.pojo;
/**
 * 文章评论表
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.sql.Date;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Setter
@Getter
@TableName("passage_comment")
public class PassageComment {
    @TableId(value = "pk_id",type = IdType.INPUT)
    private Integer pkId;
    private Integer passageId;
    // 评论作者id
    private Integer authorId;
    private String authorAvatar;
    private String authorName;
    private String context;
    private Integer parentId;
    private Date publishTime;
    private Integer likesCount;
}
